查询 Withdrawal 对象

通过 withdrawal 对象的 id 查询一个已创建的 withdrawal 对象。

请求参数描述
APP_ID required string对应 app 对象的 id,该参数仅需要填写在请求地址内,查看 如何获取App ID
WITHDRAWAL_ID required string提现对象的 id,该参数仅需要填写在请求地址内。

返回

返回一个 withdrawal 提现对象,或者返回一个错误,详见 错误

定义

GET https://api.pingxx.com/v1/apps/{APP_ID}/withdrawals/{WITHDRAWAL_ID}
待补充
待补充
待补充
待补充
待补充
待补充
待补充

请求示例

curl https://api.pingxx.com/v1/apps/app_1Gqj58ynP0mHeX1q/withdrawals/1701611150302360654 \
-H "Pingplusplus-Signature: {SIGNATURE}" \
-H "Pingplusplus-Request-Timestamp: 1478833871" \
-u sk_test_ibbTe5jLGCi5rzfH4OqPW9KC:
待补充
待补充
待补充
待补充
待补充
待补充
待补充

返回示例

{
    "id": "1701611150302360654",
    "object": "withdrawal",
    "app": "app_LibTW1n1SOq9Pin1",
    "amount": 20000,
    "asset_transaction": "",
    "balance_transaction": "",
    "channel": "unionpay",
    "created": 1472648887,
    "description": "test232description",
    "extra": {
        "account": "6225210207073918",
        "name": "姓名",
        "open_bank_code": "0102",
        "prov": "上海",
        "city": "上海"
    },
    "fee": 200,
    "livemode": true,
    "metadata":{},
    "order_no": "20160829133002",
    "source": null,
    "status": "created",
    "time_canceled": null,
    "time_succeeded": null,
    "user_fee": 50
}